package com.xinan.system.curd;

import com.jfinal.core.BaseController;
import com.xinan.system.curd.CurdController;

/**
 * CommonController
 */
public class CodesController extends CurdController {
    @Override
    public void index() {
        String tbName = "codes";
        String fields = "type";
        if (buildView(tbName,fields)) {
            render("/WEB-INF/views/common/codes.html");
        }
    }
//    public void trees(){
//        String tbName = "codes";
//        String fields = "type";
//        if (buildView(tbName,fields)) {
//            render("common/codes.html");
//        }
//    }

}
